/**
 * Provides the FirstLightApp class which implements the FirstLight example game
 * for the GQE library.
 *
 * @file examples/demo/FirstLightApp.cpp
 * @author Ryan Lindeman
 * @date 20110704 - Initial Release
 */
#include "classes/FirstLightApp.hpp"
#include "States/LoadingState.hpp"

FirstLightApp::FirstLightApp(const std::string theTitle) :
    GQE::App(theTitle)
{
}

FirstLightApp::~FirstLightApp()
{
}

void FirstLightApp::Init(void)
{
    // Load Global resources.
    mAssetManager.AddFont("MainFont","resources/Perfect DOS VGA 437.ttf",GQE::AssetLoadStyleImmediate);

    // Add Menu State as the next active state
    mStateManager.AddActiveState(new(std::nothrow) LoadingState(this));
}
